Skip to content

Conversation

@berhili098
Copy link

@berhili098 berhili098 commented Jan 20, 2025

This pull request includes several changes to the Flutter project setup, focusing on updating configurations and improving the project structure for both Android and iOS platforms. The most important changes include updates to the metadata, build configurations, and project settings.

Metadata and Configuration Updates:

  • example/.metadata: Updated the revision and added a new migration section to track metadata for the flutter migrate command.
  • example/analysis_options.yaml: Added a new configuration file to set up the Dart analyzer with recommended lints for Flutter projects.

Android Project Updates:

  • example/android/app/build.gradle: Refactored the build file to use the new Flutter Gradle plugin and updated the configuration for better compatibility and maintainability.
  • example/android/settings.gradle: Added plugin management and updated the Gradle plugin versions to ensure compatibility with the latest Flutter SDK.
  • example/android/.gitignore: Updated the .gitignore file to include new entries specific to Android build artifacts and keystore files.

iOS Project Updates:

- Updated Flutter and Dart SDK constraints in pubspec.lock.
- Modified Android build configuration to use Gradle 8.3 and updated Kotlin version.
- Enhanced AndroidManifest.xml with new themes and permissions.
- Added migration metadata for Flutter platforms in .metadata file.
- Updated dependencies in pubspec.lock, including version upgrades for several packages.
- Cleaned up and restructured Android project files for better organization and compatibility.
@berhili098 berhili098 changed the title Update Flutter project configuration and dependencies Chore : migrate gradle in the example Jan 20, 2025
- Upgraded several packages in pubspec.lock, including `collection` to version 1.19.0 and `material_color_utilities` to version 0.11.1.
- Added new dependencies: `flutter_lints` (5.0.0) and `lints` (5.1.1) for better linting support.
- Updated Dart SDK constraint to >=3.6.0 in example/pubspec.lock.
- Refactored main.dart to replace print statements with debugPrint for better logging practices.
- Cleaned up code formatting and structure in main.dart for improved readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant